Skip to content

[23기_임종훈] 성능최적화 미션 제출합니다.#74

Open
Jong0128 wants to merge 2 commits into
CEOS-Developers:Jong0128from
Jong0128:Jong0128
Open

[23기_임종훈] 성능최적화 미션 제출합니다.#74
Jong0128 wants to merge 2 commits into
CEOS-Developers:Jong0128from
Jong0128:Jong0128

Conversation

@Jong0128

Copy link
Copy Markdown

No description provided.

@fervovita fervovita left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

과제 하느라 수고많으셨어요!!!

Comment thread README.md
</details>

<details>
<summary> <h2> 성능 최적화 </h2> </summary>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리드미에 성능 최적화 과정을 수치와 함께 작성해 주셔서 도움 많이 되었습니다👍


@Override
@Transactional
public OrderResponse cancelOrder(Long userId, Long orderId) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cancelOrder 부분도 외부 API 호출(paymentService.cancel)이 @Transactional로 묶여 있어서 외부 API 호출 시간 동안 DB 커넥션을 잡고 있을 것 같아요.
이 부분도 createOrder처럼 추후에 트랜잭션을 분리해 주시면 좋을 것 같습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants